package com.linjacy.httpproject.controller;

import com.linjacy.httpproject.response.R;
import com.linjacy.httpproject.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mawei")
public class MaWeiIndependenceController {

    @Autowired
    ItemService itemService;

    @RequestMapping("subwayBuildPlan")
    //@DS("db1")
    public R subwayBuildPlan(){
        itemService.subwayBuildPlan();
        return R.success();
    }

}
